/*
 * Copyright 2003-2005 (c) Live Media Pty Ltd. <argot@einet.com.au> 
 *
 * This software is licensed under the Argot Public License 
 * which may be found in the file LICENSE distributed 
 * with this software.
 *
 * More information about this license can be found at
 * http://www.einet.com.au/License
 * 
 * The Developer of this software is Live Media Pty Ltd,
 * PO Box 4591, Melbourne 3001, Australia.  The license is subject 
 * to the law of Victoria, Australia, and subject to exclusive 
 * jurisdiction of the Victorian courts.
 */

#ifdef __cplusplus
extern "C" {
#endif



#ifdef __GNUC__
  #ifdef NOINLINE
   #undef INLINE
  #else
   /* assume c99 standard */
   #define INLINE extern inline
  #endif
#endif

#include <stdbool.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>  /* for memcpy */

#ifndef type_malloc
#define type_malloc( x ) malloc( x )
#endif

#ifndef type_free
#define type_free( x ) free( x )
#endif

#ifdef DEBUG
#define TRACE( msg ) printf( "TRACE: %s - %d - %s\n", __FILE__, __LINE__, msg )
#else
#define TRACE( msg )
#endif

#ifdef __cplusplus
}
#endif
